/* 定义版心剧中效果 */
.wrapper {
    width: 1200px;
    margin: 0 auto;
}

body {
    background-color: #f3f5f7;
}


/* header 样式 */
.header {
    height: 100px;
    background-color: #fff;
}

.header .wrapper {
    display: flex;
    padding-top: 29px;
}

/* logo 样式 */
.logo h1 a{
    width: 195px;
    height: 41px;
    display: block;
    background-image: url('../images/logo.png');
    font-size: 0;
}

/* nav 样式 */
.nav {
    margin-left: 102px;
}
.nav ul {
    display: flex;
}

.nav ul li {
    margin-right: 24px;
}
.nav li a {
    display: block;
    padding: 6px 8px;
    line-height: 27px;
    font-size: 19px;
}
.nav li .active,
.nav li a:hover {
    border-bottom: 2px solid #00a4ff;
}

/* search 样式 */
.search {
    width: 412px;
    height: 40px;
    background-color: #f3f5f7;
    border-radius: 20px;
    margin-left: 64px;
    line-height: 40px;
    padding-left: 19px;
    padding-right: 12px;
    display: flex;
}

.search input {
    border: none;
    /* 取消输入框聚焦时的边框 */
    outline: none;
    background-color: transparent;
    flex: 1;
}
.search input::placeholder {
    color: #999;
    font-size: 14px;
}
.search a {
    width: 16px;
    height: 16px;
    background-image: url('../images/search.png');
    align-self: center;
}

/* user 部分 */
.user {
    margin-top: 4px;
    margin-left: 32px;
}
.user img {
    /* vertical-align 适用于行内块或行内元素垂直方向对齐方式 */
    vertical-align: middle;
    margin-right: 7px;
}
.user span {
    font-size: 16px;
    color: #666;
}

/* banner 区域样式 */
.banner {
    height: 420px;
    background-color: #0092cb;
}
.banner .wrapper {
    /* 必须要有高度，撑开盒子，才能显示背景图 */
    height: 100%;
    background-image: url('../uploads/banner.png');
    display: flex;
    justify-content: space-between;
}

/* 侧导航区域 */
.banner .left {
    width: 191px;
    height: 100%;
    background-color: rgba(0, 0, 0, .42);
    padding: 3px 20px;
}
.banner .left a {
    height: 46px;
    line-height: 46px;
    /* 当转为块级元素后，宽度会自动继承父元素的 100% */
    display: block;
    color: #fff;
    background: url('../images/right.png') no-repeat right center;
}
.banner .left a:hover {
    color: #00a4ff;
    background: url('../images/right-hover.png') no-repeat right center;
}
.banner .right {
    width: 218px;
    height: 305px;
    border-radius: 10px;
    background-color: #209dd5;
    margin-top: 60px;
}
.banner .right h3 {
    height: 48px;
    padding-left: 14px;
    padding-top: 18px;
    font-size: 15px;
    color: #fff;
    font-weight: 400;
}
.banner .right .content {
    height: 257px;
    background-color: #fff;
    border-radius: 10px;
    padding: 14px;
}
.banner .right dl {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 12px;
}
.banner .right dt {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.banner .right dd {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 8px;
}
.banner .right dd span {
    color: #00a4ff;
}
.banner .right dd strong {
    color: #7d7d7d;
    font-weight: 400;
}
.banner .right a {
    display: block;
    width: 190px;
    height: 32px;
    background-color: #00a4ff;
    border-radius: 15px;
    line-height: 32px;
    text-align: center;
    color: #fff;
    font-size: 14px;
}
